<template>
  <div class="scene_box">
    <h3>stats性能监控器/计算渲染帧率 renderer.setSize </h3>
    <div class="canvas"></div>
  </div>
</template>
    
    <script setup>
import { nextTick } from "vue";
import { stats_fun } from "../../js/chapterOne/stats.js";
nextTick(() => {
  stats_fun(".canvas");
});
</script>
    
    
<style  scoped>
.canvas{
width: 70vw;
height: 80vh;
position: relative;
}
</style>